package com.magist.core.auth;

import com.magist.core.enums.UserTypeEnum;

import java.io.Serializable;

/**
 * 用户对像信息
 * @author think
 *
 */
public class AuthUser implements Serializable {

	private static final long serialVersionUID = -1410930821674632532L;
	private UserTypeEnum userType;
	//用户信息
	/**
	 * 登录用户Id
	 */
	private String userId;
	/**
	 * 登录用户名
	 */
	private String userName;
	/**
	 * 登录用户编号
	 */
	private String userCode;
	
	//企业信息
	/**
	 * 登录企业ID
	 */
	private String corpId;
	/**
	 * 登录企业编号
	 */
	private String corpCode;
	/**
	 * 登录企业名
	 */
	private String corpName;
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getUserCode() {
		return userCode;
	}
	public void setUserCode(String userCode) {
		this.userCode = userCode;
	}
	public String getCorpId() {
		return corpId;
	}
	public void setCorpId(String corpId) {
		this.corpId = corpId;
	}
	public String getCorpCode() {
		return corpCode;
	}
	public void setCorpCode(String corpCode) {
		this.corpCode = corpCode;
	}
	public String getCorpName() {
		return corpName;
	}
	public void setCorpName(String corpName) {
		this.corpName = corpName;
	}
	public UserTypeEnum getUserType() {
		return userType;
	}
	public void setUserType(UserTypeEnum userType) {
		this.userType = userType;
	}
	
	
}
